% Green Tux Beamer Theme
% Copyright Gustavo Sverzut Barbieri <barbieri@gmail.com>
% LICENSE: BSD
% Based on beamerthemeKDE.sty, by Thiago Macieira <thiago@kde.org>


%%%%%% SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% COLORS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Back ground
\definecolor{bg}{HTML}{FFFFFF}
% Text foreground
\definecolor{textfg}{HTML}{000000}
% Title page title and subtitle
\definecolor{titlefg}{HTML}{183573}
\definecolor{subtitlefg}{rgb}{0.5,0.5,0.5}
% Head slide title, location (section) and sublocation (subsection) colors
\definecolor{titlebarfg}{HTML}{183573}
\definecolor{locationbarfg}{HTML}{000000}
\definecolor{sublocationbarfg}{HTML}{666666}
% linkcolor is used at TOC
\definecolor{linkcolor}{HTML}{183573}
\definecolor{urlcolor}{HTML}{183573} %86B647}
% Structure
\definecolor{structure}{HTML}{183573}

%%%%%% END SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usetheme{Rochester}

\pgfdeclareimage[width=12.8cm,interpolate=true]{img-head}{head}
\pgfdeclareimage[width=2cm,interpolate=true]{indt-logo}{indt}

\beamer@headheight=0.1\paperwidth

\setbeamercolor*{normal text}{fg=textfg,bg=bg}
\setbeamercolor*{Title bar}{fg=titlebarfg}
\setbeamercolor*{Location bar}{fg=locationbarfg}

\setbeamercolor*{frametitle}{parent=Title bar}
\setbeamercolor*{title}{fg=titlefg}
\setbeamercolor*{subtitle}{fg=subtitlefg}

\usecolortheme[named=structure]{structure}

\setbeamerfont{section in head/foot}{size=\scriptsize,series=\bfseries}
\setbeamerfont{frametitle}{size=\huge\bfseries}
\setbeamerfont{title}{size=\huge,series=\bfseries}
\setbeamerfont{subtitle}{size=\small,series=\mdseries}
\setbeamerfont{author}{size=\normalsize,series=\bfseries}
\setbeamerfont{institute}{size=\normalsize}
\setbeamerfont{date}{size=\scriptsize}

\setbeamertemplate{background}
{
  \includegraphics[height=\paperheight]{background}
}

\setbeamertemplate{title page}
{
\vskip-1.6cm%
\hskip-\beamer@leftmargin%
\begin{minipage}{\textwidth}
\includegraphics[height=\paperheight]{opening.pdf}
\end{minipage}
}

\setbeamertemplate{navigation symbols}{}
